#!/usr/bin/env python
# -*- coding:utf-8 -*-

li=[34,48,65,3,43,7,3,45]
for m in range(len(li)-1):
    for n in range(m+1,len(li)):
        if li[m]>li[n]:
            tmp=li[n]
            li[n]=li[m]
            li[m]=tmp
print li